Robotics 1.0 Lesson Plan
Lesson 19: Magic Slider
1 - (Time : 1:30 minutes, each group maximum 4 children).
Desktop or laptop computer, CPX board, Crickit, USB cable, 5V battery
MG995 servo motor
Pressure sensor
Jumper wires
2 limit switches
Basic understanding of the CPX and Crickit boards
How servo motors move and are controlled
How digital sensors work
How to upload CircuitPython code using the Mu Editor.
Learning how a pressure sensor works
Using the pressure sensor to create an automatic sliding door mechanism
In our program we are using digital_read for the FSR, but could we instead use analog_read to get more detailed pressure values? Why or Why not? If yes, how would that change the way the door responds to different amounts of force?